package com.appkubes.portal.admin.application.app.menu.entity.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Pattern;

@Data
@ApiModel(description = "菜单角色设置")
public class MenuRoleSetVO {

    @NotEmpty(message = "菜单KEY不能为空")
    String[] menuKey;

    @NotEmpty(message = "角色编码不能为空")
    String roleCode;

//    @ApiModelProperty("权限状态: ACTIVE|INACTIVE")
//    @Pattern(regexp = "(ACTIVE|INACTIVE)", message = "状态不对")
//    @NotEmpty(message = "状态不能为空")
//    String status;
}
